const getters = {
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,
    // 将 token 属性作为公共值放出
    token: state => state.user.token
}
export default getters